package com.ossjk.oa.advisory.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.ossjk.core.base.entity.BaseEntity;

/**
 * <p>
 * 学校
 * </p>
 *
 * @author Jason
 * @since 2019-02-04
 */
public class School extends BaseEntity<School> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("id")
	private String id;
	/**
	 * 学校名称
	 */
	@TableField("name")
	private String name;
	/**
	 * 跟进人id
	 */
	@TableField("eid")
	private String eid;
	/**
	 * 省id
	 */
	@TableField("prid")
	private String prid;
	/**
	 * 市id
	 */
	@TableField("ctid")
	private String ctid;
	/**
	 * 区id
	 */
	@TableField("arid")
	private String arid;
	/**
	 * 详细地址
	 */
	@TableField("addr")
	private String addr;
	/**
	 * 合作级别：1-深度合作、2-一般合作、3-意向合作、4-没合作
	 */
	@TableField("level")
	private BigDecimal level;
	/**
	 * 规模：1-本科、2-大专、3-本专
	 */
	@TableField("scale")
	private BigDecimal scale;
	/**
	 * 规划：1-2+1、2-2.5+0.5、3-3+0、4-3+1、5-3.5+0.5、6-4+0
	 */
	@TableField("mode")
	private BigDecimal mode;
	/**
	 * 备注
	 */
	@TableField("remarks")
	private String remarks;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrid() {
		return prid;
	}

	public void setPrid(String prid) {
		this.prid = prid;
	}

	public String getCtid() {
		return ctid;
	}

	public void setCtid(String ctid) {
		this.ctid = ctid;
	}

	public String getArid() {
		return arid;
	}

	public void setArid(String arid) {
		this.arid = arid;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public BigDecimal getLevel() {
		return level;
	}

	public void setLevel(BigDecimal level) {
		this.level = level;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getEid() {
		return eid;
	}

	public void setEid(String eid) {
		this.eid = eid;
	}

	public BigDecimal getScale() {
		return scale;
	}

	public void setScale(BigDecimal scale) {
		this.scale = scale;
	}

	public BigDecimal getMode() {
		return mode;
	}

	public void setMode(BigDecimal mode) {
		this.mode = mode;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "School{" + ", id=" + id + ", name=" + name + ", prid=" + prid + ", ctid=" + ctid + ", arid=" + arid + ", addr=" + addr + ", level=" + level + ", remarks=" + remarks + "}";
	}
}
